﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;

namespace Elota.SCAQGL.CommandTools
{
   public class Msg
    {
        /// <summary>
        /// 获取当前页面
        /// </summary>
        /// <returns></returns>
        private static Page getCurrent()
        {
            Page page = (Page)HttpContext.Current.Handler;
            return page;
        }
        /// <summary>
        /// 显示提示信息
        /// </summary>
        /// <param name="strMsg"></param>
        /// <returns></returns>
        public static void Show(string strMsg)
        {

         //   ScriptManager.RegisterStartupScript(getCurrent(), getCurrent().GetType(), "", "<script>alert('" + strMsg + "');</script>", false);

        }
    }
}
